package com.foo.game.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.foo.common.base.constants.GameDDLConstants;
import com.google.gson.annotations.Expose;

@Entity
@Table(name = "GAME_RATING_SITE")
/**
 * Game rating sites
 * @author Steve
 *
 */
public class GameRatingSite {
	@Id
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name = "ID", length = 36)
	@Expose
	private String id;
	@Expose
	@Column(name = "SITE_INDEX", columnDefinition = GameDDLConstants.tinyintNotNull)
	private int siteIndex;
	@Expose
	@Column(name = "SITE_URL", length = 100, nullable = false)
	private String siteURL;
	@Expose
	@Column(name = "SITE_NAME", length = 50, nullable = false)
	private String siteName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getSiteIndex() {
		return siteIndex;
	}

	public void setSiteIndex(int siteIndex) {
		this.siteIndex = siteIndex;
	}

	public String getSiteURL() {
		return siteURL;
	}

	public void setSiteURL(String siteURL) {
		this.siteURL = siteURL;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

}
